Skip to content

Exclude model-group topography from scene meshes - #314

Merged
mahach666 merged 1 commit into
mainfrom
codex/scene-group-topography
Nov 25, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/scene-group-topography

Conversation

@mahach666

@mahach666 mahach666 commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

What changes and why

Direct RVT scenes were drawing a legacy topography record attached to a model-group definition as an independent surface. Mesh extraction now uses the IFC exporter's existing predicate to exclude that record. The record remains readable from the RVT, and placed site surfaces and members in other categories remain drawable. A synthetic regression test covers all three cases.

How it was checked

  • Compared scenes from nine sample RVTs saved with Revit 2021–2027. In the 2022, 2024, 2026, and 2027 versions of the RAC Basic sample, the only change was removal of group-definition surface 800334 and its instance. All three placed surfaces remained. The five other scenes retained their element and instance counts.
  • After the change, none of the nine scenes contained a drawn group-definition surface or a pair of terrain elements with identical world-space bounds. The reported 2024 scene also had no coincident complete triangle meshes.
  • The fixed-timestamp IFC export of the reported 2024 model was byte-for-byte identical before and after.
  • On both .NET 8 and .NET 10, 117 focused mesh, scene, and IFC tests passed with the local fixtures enabled. No failures or skips. The native-only scene adapter also built successfully.
  • No model files or sample data are included in the diff.

@mahach666
mahach666 merged commit 39791a3 into main Nov 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant